import React from 'react';
import { Badge } from 'choerodon-ui';
import style from './index.less';

const BadgeBasic: React.FC = () => {
  return (
    <div style={{
      padding: '20px',
    }}
    >
      <Badge className={style.badge} count={5}>
        <span className={style['head-example']} />
      </Badge>
      <Badge className={style.badge} count={0} showZero>
        <span className={style['head-example']} />
      </Badge>
    </div>
  );
};

export default BadgeBasic;